Support for changing branch from settings.