Only select plot when using select command
Regenerate plots when they are deleted