Fixed a couple of bugs with the Pushbullet function.