Alert message before popping up fixed for maximum hours