Calculate times in the future and fixed timer

The plugin will now calculate times in the future.