1. configure activity