updated coding for last_step in Application Controller to allow form to store selected information when on the last page