Fix bug when testing if spotify is running