changed color validator and added date selector