Set window title via reload function