Save attachment buttons activated without selected attachemnt
Save selected attachment buttons are sometimes activated without selecting any attachment.
Steps to reproduce: Repeatedly select messages and change their processing state. Occasionally the buttons get activated after changing the processing state.
If the application is compiled in debug mode then the application will crash if the button is pressed without any attachment selected.