Added buttons for navigations and fixed navigation errors.