He likes spending time with the friend, and they also discuss business ideas. He hadn't planned leaving the office for lunch today. However, he observes that he can spare an hour away from his office without any disruption in his overall work. This is not whim-worship. It's rational spontaneity.
Whim worshippers have an indifferent or negative relationship with reason and objectivity.
Whatever feelings they are having in a given moment are, to them, the greatest persuaders. Consequences be damned. A person capable of spontaneity, on the other hand, never loses touch with reason and objectivity. He thinks before he acts, but he also can think quickly and is prepared to make last minute changes when appropriate. Spontaneity can lead to errors, but rarely if ever will it lead to serious self-harm.