Fixed bug where app crashed when put into the background