Deleted some methods in the MyActivity class