Refactored remember my filter functionality