Preserve previous input when switching to a channel