before testing location manager in app delegate, and using notification center.