Fixed title not reseting to default bug