Originally posted by Pancake001
When I added it to my rom if I open it then it does nothing.
What are you using to insert the code? It's pretty strange that it's doing absolutely nothing. Anyway, I added a couple of lines to it and it should work perfectly now. KevinM answer should also work.