Adding the onStop Lifecycle override