extracted word and translations fetching to store_word function, now it gets one buffer argument and can be used both as interactive command and when page-mode enabled