Added prompt to save time when closing app