As the titles says, most of my beatmaps got deleted. All of the settings turned back to the default. This is not the first time, so I'm beginning to lose motivation. I honestly don't know what the problem is.
The settings are saved in "osu!.<username>.cfg", try moving "osu!<username>.cfg" out of your osu! folder, set your settings and try again. Maybe the file got corrupted.