Revised the constructor of callback_data