One of the latest Windows updates also did that for me, I re-assigned osu!.exe as the default again and it solved the problem.
I used the "look for other applications" option and went through the folders to the exe to assign it, the default one that was showing (like your top screenshot) was also broken for some reason.