you dont need to be worry ,sometimes these things may happen.if someone is doing nice thingsto Allah ,then devil tries to stop her/him in a more affective way. and we may feel we are acting like munafıq.because our iman has always need to be refreshed by reading more and more books about iman...