delete useless functions
add function to delete selected picture and show confirmation dialog before delete
switch settings file to Settings.settings