Added settings range and in MainActivity