Added the ability to disable the lockscreen from showing up after backgrounding the app