Fix resource command buttons