So it has to be something up with setting firefox with default.
The only problem is that I don't know whats wrong.

You have all of the available windows updates right? Make sure that you do and if not see if that fixes it.
If not then try the below.
Go to start run and enter:
firefox.exe -silent -nosplash -setDefaultBrowser
Let me know if only firefox opens.