Set titles on fragment switch