add selection for tabs
Note: only to do, done and block get automatically selected