Man charged with being armed habitual criminal