Better behaviour of alarm action, regarding started/stopped states.