Back Button alternate way Is there any other better alternate way to write the code with the same output ?