but he always managed to come up with a brilliant and logical solution whenever she came to him with a problemlike how much time to spend practicing or what dress to wearand he didnt treat her problems as trifling , like most other people did .