use invalidateOptionsMenu from android support library
fixed bug when clicking on a "file delete" event