Added title changing in the ui