added a notify() function for nice notifications to user in app