Fix problem with RC Screen

Added onpause, onresume, and ondestroy methods to rc mode. There was an
error where when you switched to rc mode more than once after the app
was started it would not work. These methods resolved the problem.
Moving duplicated code to a single method.
Merge pull request #149 from arthurbenemann/RCfix

Fix problem with RC Screen