The right way to hide/show the action button