Settings implemented + some performance issues

Problems with freezing ui main thread