First activity is changed to the main activity

Previous commit displays view records at the begining. This changes the first activity to be displayed to be the main.