Accessibility Settings Problem

Accessibility setting in 5.1 Plus gets turned off automatically for all the apps in few mins after turning them on. I have checked batter usage and optimisation thing, battery optimisation is off for the apps I need for accessibility permission and both of evenwell.powersave are disabled too.

Please help fixing, it gets annoying.