Clean Up FindBugs and Checkstyle Warnings

Change-Id: I7bdc8393526385979a0a968c1f6a620225668c1f
Signed-off-by: Yasser Aziza <yasser.aziza@gmail.com>
[ui] UI enhancements

- fix permission list placement in the anonymous ID preference page
- improved heartbeat intervals description
- flush activation prefernce.

Change-Id: I1320521669f52a6a90c51687416d1fd871892c97
Signed-off-by: Yasser Aziza <yasser.aziza@gmail.com>