fixed null exception when clicked on new note
added delete resource string
added support since android v2.2