Five held for using mobile phone, displaying weapon at polling stations