Use "active_index" RNA property to change active layer. This will allow
to sen updates to other regions when active layer is changed and also
registers undo step.
Logic of this property is similar to legay GP.
Right now GPv3 is using `tree_row_click_fn/on_activate` function to change
the active layer.