Added code to change between pages

Ujjwal, this should help you quickly make different java classes for
different activities