removed define and using a static var instead + listening to notification only from background context
removed define and using a static var instead + listening to notification only from background context

MarcoSero/Nimble,ashfurrow/Nimble-1