Changed Source from Text to Image in UI; Added transaction management in db related activities; Added duplication check before writing to DB;