Error sent to deallocated instance when press the button