giving feedback when updating preferences
added preview functionality to posts