Make the action button togglable