Added refresh button.

Fixed PHP version incompatibility ([][] bug).