Samsung Galaxy A5

Hello,

My samsung is in S view mode, while I am not using S view case. I cant turn it back, also I can not use home button so I can not do factory reset.
I tried with magnet but it did not worked.
Does this looks like hardware or software problem.

Best wishes…