Added more log output
Fixed crash on clicking buttons on settings screen