Fix your app rather than write how-tos.
Yes it crashes, yes it does not start. You take money for the app that does not work. Learn how to program first, then take money. Fix your app rather than write how-tos. Start from the very beginning.
Gift_al about
Sleep Tracker - Sleep Pulse 3, v2.01