Set parent singleton object to avoid memory leak