Got time set to work in the alert form, but it needs some cleaning