Call Method From Another Class React