Making scanning a badge an action bar action.