In Update, you are doing:
Update
Pausemenu.SetActive(true);
And then you check if the gameObject you just set to Active is Active:
if (Pausemenu.activeSelf)
That can't work.
I don't know if that is your main problem, but with this it can't work.