Adding feature to edit pictures