Multimodal task execution and text editing for a wearable system