Fixed issue 12
Merge pull request #14 from rounak/fix_for_not_playing_window

Fixed issue #12