No enclosing instance of type WorkdynamicActivity is accessible. Must qualify the allocation with an enclosing instance of type WorkdynamicActivity (e.g. x.new A() where x is an instance of WorkdynamicActivity).