add permissions to activity