fixes #54 application crash fixed in case of no option present in DB