add/remove palace name in titlebar