Added hide button, save profile in json format