[2/2] Add triggers to change profile based on AP

Add UI for configuring triggers to active profiles.

Change-Id: I4903ef64d3eced687136a7dcf4d2048ce4b7ca63
Merge remote-tracking branch 'upstream/cm-10.1' into cm-10.1