Handling the object detail change