|As regards the power button:|
Whenever you move cables and it causes a noticeable change then this means that the fault is very close to where the movement is being made. Check all connections in that area and also look out for short circuits (wires touching each other etc).
It is possible that the power button fault is causing the shut down issue. It might be the power button itself.
Always pop back and let us know the outcome - thanks