Delete option menu code