[MainToolbar] Make last command target a weak ref.