Implemented options button in popup