Fixed slideshow to not register file action outside of files app

Fixes #1474 where the slideshow opened itself from the trash bin.

Please review @butonic @icewind1991 @karlitschek @jancborchardt @Kondou-ger