Fix pushbullet default device value. fix #2691
Cleanups for pushbullet plugin