How to have the form enable during certain period of time?