Reset button for our MBED smart remote

Hello everyone,
I am making a little project using mbed.
We made a smart remote using this website :
but we bumped into 2 problems: implementing a reset button to erase our db.txt (via HTTP) and changing the code to recieve RC-6. Does somebody know what to do ?