Removed unwanted code from FilterBy. Also fixed the message in adding
and removing posts to favorites.
Merge remote-tracking branch 'origin/RemoveAbondanedCode'