Allow to de-activate a pinned query

A simple use case:
I prepared a dashboard with a set of pinned queries, but final users may not be interested in all of them.
Currently one user would need to unpin and delete the query.

This PR makes the pinned queries clickable in order to de-activate / re-active them