modified the time limiti of alarm and also removed check for security key.