added controller
corrected text update, failed at saving with gson