Hi
nishakrGood day. If function works well in "Safe Mode", indicating that the issue is triggered by 3rd party Apps. Please check on any disturbance from the installed 3rd party Apps.
Furthermore, please try "the Factory Reset"
Setting>System>Reset>Factory data reset
Kindly note that once the Factory Reset is completed, all data, apps, settings and personal information will be deleted.