setChange and setPercent were missing the code needed to switch the
alarm from change to percent and vice-versa.