Sample app: create MainActivity