Changing tab tittle

I have two problems about the tab title:

The first one its that I dont know how to change the title so I can display the title that I want.

The second its that when I do a reading from a database a “uploading…” message appears on the tab and I only want to display static text.

Thanks for your upcoming support.