Refactored refreshfeeds command.