Settings functionality added

Read bug fixed.