Worked more on the play and pause functions of the GUI