building footer button and switching branches