Added API to set custom text to the done button