Changed main and settings activity to reload changes automatically.