Implement menu back function