static initialization bug fix.
starting to update the magnetometer fragment screen.