created new broadcast receiver to listen for shutdown action