added start button handling to main activity