                             @setState {auto_highlight:true}
 
 
-                components.message "Time to auto-answer: #{auto_hide_time} s",
+                components.message "Time to auto-answer: #{auto_hide_time} sec",
                     opacity: if auto_hide_time == Infinity then 0 else 1
             ]
         ]

        if log.entries.length
            if log.is_active
                are_you_working_message = "
                    You've been working for #{format_time(time)}.\n\n
                    Are you still working?"
                if time_since_show_window > 60000
                    are_you_working_message = "
                        It looks like you've \nbeen distracted for #{format_time(time_since_show_window)}.\n\n
                        Were you working?
                    "
            else
                are_you_working_message = "
                    You've been distracted for #{format_time(time)}.\n\n
                    Did you start working?"

        dialogs = [

    last_auto_hide_interval = setInterval auto_hide_interval, 1000
    render_all()

format_time = (time=Date.now())->
    pre_formated_time = new Date(time).toTimeString().split(' ')[0].split(':')
    hours = parseInt(pre_formated_time[0]) - 1 # WHY???
    min = parseInt(pre_formated_time[1])
    sec = parseInt(pre_formated_time[2])


    if hours or min or sec
        formated_time = "#{sec} sec"
        if hours or min
            formated_time = "#{min} min " + formated_time
            if hours
                formated_time = "#{hours} hours " + formated_time

    return formated_time


# This function will be filled on componentWillMount
