Fixing JavaAppWidget