Added notifications to the PW app plus some code refactoring

Also, why would BT be off? The point of this is to enable BT if it's off.