cleaned up Application cast in a static method on App
renamed member variable