Added title change functionality