I would leave it as is. "Organizing the reception" works well as an adverbial clause modifying "took".
"While" works well:
You deserve a medal for all the trouble you took while organizing the reception.
Other possibilities "to organize", "by", "in" would also work well. Many more prepositions would work.