Fix scheduled-swap crash
Fix scheduled-swap crash

It turns out that, with the right timing, onItemSelected() can be
called while the activity is paused.

volvet/grafika,hank5000/grafika,krishansharma91/grafika,changjiashuai/grafika,wysaid/grafika,Crindigo/grafika,wczatsjtu/grafika,google/grafika