Fixed bug which creates new database (init_db) on every startup. Added an edit feature.