Added title change functionalty