fixed typo and added correct back functionality to button