There's some doubt. He did electroplating as a hobby for which he used potassium cyanide. He could have inhaled hydrogen cyanide fumes, or not washed his hands well enough before eating the apple. So it might have been accidental death.
Having worked with similar chemicals, you tend not to get careless. I would wager a majority of cyanide injestions are not accidental. I think murder or suicide is much more likely, particularlly given the context.