Add "private static final long serialVersionUID = 1L;" to your class level variables, right above "private final int WIDTH = 500;".