Added GDMSESSION check to fix non-function Play/Pause key behavior in Ci...

...nnamon.  Prior to update, the Play/Pause button only paused Spotify for a split second and would restart playing.  After pressing Stop, the Play button could not resume playback.