At that time, you can say " 감사합니다 :)" umm.. "한국어 열심히하세요" It seems to look like imperative sentence, but this connote "cheer you on korean study". so.. next time when you heard it than you just say "Thank you! I hope that your study or work go into orbit :)" I'm not good at english but I tried :p