View menu: layer cache size setting window: Use a spin box instead of an edit, and don't apply the change unless the user presses 'OK'
Fixes ilastik-562