Setting date selector controller