Changed back button pressed and impelmented my events