Changes done to .htaccess are not getting reverted back

If this is still persisting after even reinstalling the database again, than i doubt this is something related to browser cache.
I do not know anything how Word-press or WAMPP work but try to use another browser and also try to clear browser cache.

If even after clearing the cache if still problem persists than i hope some one who knows good about WP might help you.