Update Foreground.java