Fixes to sample project

Updated the sample project for supporting Android Action Bar.