Correct conditions of action buttons