Fixed bug with app settings