Fixed new order layout and added exit button functionalities