How can I disable a component for certain period of time and store it so that if someone reopens application timer do not get reset