Activity transition from the main activity