Fixed bug on cancel-buttons to return to index-route.