Refactored by removing unnecessary back buttons.