Sex offender charged with two felonies