Fixed back-button segfault

If no data is returned from the ViewPalette activity, the app shouldn't
try to get extras from it.