How to control visibility status by user for each User Task?

I have a WebApp in which users can see all the created tasks and click to see details.
And I need to show the already clicked tasks in a different way.
The best solution I found was to create a task local variable named “read_[user’s ID]” for each user if the user clicked the task.

Is there a better way to do it?