pause/play button flicker problem

Pause Play button flicker problem has been resolved. Have added two
boolean variables.
Merge pull request #3 from krohini1593/Rohini

pause/play button flicker problem
Merge pull request #4 from rohit12/Rohini

Rohini-Pause Play Flicker Resolved