added synchronized modifier for thread safety
swapped empty state pictures