Fixed error when getting the Activity