Made fix for duplicacy in DB w.r.t PLM id, first login shows all previous entries, writing to xlsx file, making old data editable for the same day only