Moved title creation to onCreate