Updated Main Activity to reflect whether app is opened via home page or share option.