Added play/pause funcitonality by listening to the key handler