apply shared preference changes in the background
merge delete-fix from Javran
merged mariotaku's CircularImageView implementation