handle Intent onCreate.