Fix build on latest android studio 0.5.3
Add code snippets for checkedChangeListener on SegmentedGroup