modify ItemsSelectro.java for end of day and end of learn process