Added a method to return total time in minutes and made appropriate
changes to the GUI