Fixed bug with title not changing on back button press