Implemented addTask to self.button