Do not increment submitted time with totaltime in history rows
Use minutes to store the total time
Deactivate the app if the ticket is closed