Changed behaviour of adding action when clicked: actions are only added to an empty set
An empty set is also added on click