move reaction to actions to the todos view