RIM wins appeal in Mformation patent case, gets to keep $147.2 million