Populate commands based on command context and UI changes