Combining multiple activities into one