Add to set MIME type to the input panel and add the callback