refactored code with com.actionbarsherlock.* instead of android.view.*

Closes #14.