Nokia 5130 auto on off or restart problem solution parts and ways

Nokia 5130 auto on off or restart then you can solve this by this image look at this diagram you can see some resistances and volume and camera switch buttons so clean these resistances and buttons with electronics cleaner and leave them to dry for a few mints or apply some heat with hot air but not too much that the melt buttons.