Reupdated activity class to match desktop version.