You need to solve the problem by hard resetting the phone as it rewrites all the system partition which actually solves this problem.
For samsung shut down your phone hold down volume up menu and power button simultaneously recovery mode would open then using volume up and down button select...