added buttons to save database and to get hex file