1. Settings → Apps → All Apps → Zegoal → Activity Control → No Restrictions Mode
2. Settings → Apps → All Apps → Zegoal → Auto-Start → On
3. Settings → Power and Performance → Click the Settings (gear) icon in the upper right corner → Battery Saver/Ultra Battery Saver → Off
4. You can pin the app to your smartphone's RAM to prevent it from closing when the screen is locked:
Security → Click on the gear icon in the upper right corner → Acceleration → Pinned Apps → Zegoal → On