Add space to toggle play/pause an general keydown handler